<template>
  <div @click="themeSetting">
    <div class="iconfont a icon-pifu"></div>
  </div>
</template>

<script setup>

  import {mainStore} from "@/stores"

  let mStore = mainStore()
  

  let themeSetting = ()=>{
      mStore.$patch((state)=>{
        state.themeSetting = true
      
      })
      // console.log(mStore.themeSetting)
  }

</script>

<style lang="scss" scoped>
    .a{
        font-size: 20px;
        margin-right: 20px;
        cursor: pointer;
    }
</style>